package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * 品牌实体类
 */
public class Brand implements Serializable {
    /** 品牌id */
    private Integer bid;
    /** 品牌名 */
    private String bname;

    public Brand(){}

    public Brand(Integer bid, String bname) {
        this.bid = bid;
        this.bname = bname;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    @Override
    public String toString() {
        return "Brand{" +
                "bid='" + bid + '\'' +
                ", bname='" + bname + '\'' +
                '}';
    }
}
